package com.hc.dfs.entities.document;

import java.io.Serializable;

/**
 * <p>
 *  类说明 公文类型表实体类
 * </p>
 * @author 詹庆辉
 * @date 2012-11-8 下午01:58:57
 * @vesion $Revision$ $Date$ 
 */
public class DocumentType implements Serializable{
   
	private static final long serialVersionUID = -6109295692531992237L;

	private Integer id;//id

    private Integer pid;//父id

    private Integer left;//左边界值

    private Integer right;//有边界值

    private String name;//公文名称

    private String extName;//扩展名称
    
    private Integer isDelete;//是否删除

    private String remark;//备注
    
    private Integer depth = -1;//层级

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /**
	 * @return the pid
	 */
	public Integer getPid() {
		return pid;
	}

	/**
	 * @param pid the pid to set
	 */
	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public Integer getLeft() {
        return left;
    }

    public void setLeft(Integer left) {
        this.left = left;
    }

    public Integer getRight() {
        return right;
    }

    public void setRight(Integer right) {
        this.right = right;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

  
    public Integer getIsDelete() {
		return isDelete;
	}

	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}

	public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

	/**
	 * @return the depth
	 */
	public Integer getDepth() {
		return depth;
	}

	/**
	 * @param depth the depth to set
	 */
	public void setDepth(Integer depth) {
		this.depth = depth;
	}

	/**
	 * @return the extName
	 */
	public String getExtName() {
		return extName;
	}

	/**
	 * @param extName the extName to set
	 */
	public void setExtName(String extName) {
		this.extName = extName;
	}
	
    
}